package com.yjt.admin.system.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author zzp
 * @since 2021-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MenuForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单id,新增不传")
    private String menuId;

    @ApiModelProperty(value = "菜单名称", example = "通知公告")
    private String menuName;

    @ApiModelProperty(value = "菜单url", example = "notice")
    private String menuUrl;

    @ApiModelProperty(value = "菜单路径", example = "/views/Notice")
    private String menuPath;

    @ApiModelProperty(value = "菜单图标", example = "hrCms-icon-tongzhi")
    private String menuIcon;

    @ApiModelProperty(value = "排序", example = "1")
    private Integer sort;

    @ApiModelProperty(value = "上级id")
    private String parentId;

    @ApiModelProperty(value = "一级父id")
    private String firstParentId;

    @ApiModelProperty(value = "是否禁用(默认是1,禁用是0)", example = "1")
    private Integer isForbid;

}
